home *** CD-ROM | disk | FTP | other *** search
/ Cream of the Crop 1 / Cream of the Crop 1.iso / PRINTER / DOCPRN.ARJ / DOCPRINT.DOC next >
Text File  |  1991-01-26  |  62KB  |  1,385 lines

  1.  
  2.  
  3.  
  4.  
  5.  
  6.  
  7.  
  8.  
  9.  
  10.  
  11.  
  12.  
  13.                                    DocPRINT
  14.                                 The Paper Saver
  15.                                  Version 1.30
  16.                                January 26, 1991
  17.  
  18.  
  19.         A Documentation File Formatter for IBM PC Compatible Computers
  20.                         using EPSON Compatible Printers
  21.  
  22.  
  23.                                       by
  24.  
  25.                               Lawrence Belan, ][
  26.  
  27.  
  28.  
  29.  
  30.  
  31.  
  32.  
  33.  
  34.  
  35.  
  36.  
  37.  
  38.  
  39.  
  40.                   (This down here is the legal technobabble.)
  41.  
  42.        DocPRINT is provided "AS IS" without any warranty of any kind,
  43.        either expressed or implied as to the merchantability or fitness
  44.        of purpose.  The risk as to the quality and performance of the
  45.        software is the end user's.  The Author shall have no liability
  46.        or responsibility to the user with respect to the liability, loss
  47.        or damage caused or alleged to be caused by this software,
  48.        including, but not limited to, any interruption of service, loss
  49.        of business or anticipatory profits or consequential damages
  50.        resulting from the use of, or the inability to use the software.
  51.  
  52.        The information in this document is subject to change without
  53.        notice and does not represent a commitment on the part of the
  54.        Author.
  55.  
  56.  
  57.      Page 2  DocPRINT
  58.  
  59.                                Table Of Contents
  60.  
  61.  
  62.        Preface....................................................3
  63.        License & Registration.....................................4
  64.        Credits....................................................5
  65.        Trademarks.................................................5
  66.        Files Included With DocPRINT...............................6
  67.        Before Using DocPRINT......................................7
  68.        Using MLL..................................................8
  69.        Using DocPRINT.............................................9
  70.        DocPRINT's Main Menu......................................10
  71.        Setting DocPRINT Options..................................11
  72.            R        Input Document File (the file to Read).......11
  73.            D        Settings File Name (save to Disk)............11
  74.            L        Form Length in Inches........................12
  75.            W        Form Width in Inches.........................12
  76.            I        Lines Per Inch...............................13
  77.            C        Characters Per Line..........................13
  78.            H        Horizontal (Left) Margin.....................13
  79.            G        Gutter Margin................................14
  80.            O        Output Printer Port..........................14
  81.            F        Printer Font & Size..........................14
  82.            N        Page Numbering...............................15
  83.            X        Page Number Location.........................15
  84.            V        Vertical Justification.......................16
  85.            M        Multi-Pass Printing..........................16
  86.            U        Save User Configuration......................17
  87.            Z        ReDisplay the Main Menu......................17
  88.            P        Print........................................18
  89.            S        Save Settings................................18
  90.            Q        Quit DocPRINT................................18
  91.            Alt-V    View the DOC File............................19
  92.            Alt-S    Shell Out to DOS.............................19
  93.        DocPRINT Examples.........................................20
  94.            Printing Using The Single Pass Option.................20
  95.            Enhancing The Single Sided Printout...................21
  96.            Printing Using The Double Sided Option................22
  97.            Getting Fancy With Double Sided Printing..............22
  98.        Comments & Counseling.....................................24
  99.            Advanced uses for DocPRINT............................24
  100.            Points Of Interest....................................25
  101.                1) Graphics Characters............................25
  102.                2) Printer Enhancement............................25
  103.        DocPRINT Worksheet........................................26
  104.  
  105.  
  106.                                                            DocPRINT  Page 3
  107.  
  108.                                     Preface
  109.  
  110.        Haven't you come across a Shareware program that you thought was
  111.        great?  I've found many and probably the same for you.  The only
  112.        problem with it is that the Documentation file that comes with
  113.        the program is SO LONG, printing it out takes an hour, and half a
  114.        box of paper!  Of course after you have it printed, you want to
  115.        file it in some place for reference.  Which means your new stack
  116.        of paper ends up in one of those computer printout holders (with
  117.        the nylon posts) or you tear it apart, punch holes in it (hoping
  118.        that you don't punch out any instructions) and stick it in a 3-
  119.        ring binder.  Remember that ALL of those pages you've printed out
  120.        are only ONE sided!  Essentially this means that HALF of your
  121.        printout is wasted!  Why can't printers PRINT on BOTH sides of
  122.        the paper automatically?  (Why did COKE change their formula?)
  123.        Who Knows?  Currently on my desk I have an EPSON LQ-1050 printer
  124.        that allows you to switch between tractor feed paper and single
  125.        sheets at the flip of a switch.  You don't have to play with the
  126.        tractor mechanism to do it either!  One more lever would be nice
  127.        to actually turn the paper over for you.  Just a dream now, I
  128.        believe.  Printing companies print on BOTH sides of the paper.
  129.        So do the new line of photocopiers out these days.  I thought it
  130.        was time to do something about it!
  131.  
  132.        Back in the summer of '88, I saw a program on the BITNET Netnews
  133.        called PRINTDOC, a similar program written by Phillip Garding
  134.        that got DocPRINT started.  It allowed you to print out ASCII
  135.        files using both sides of the paper.  It worked well too; but,
  136.        I'm a nit-picker that has nothing better to do than find faults
  137.        with things.  A few items were: 1: What if you want to print on
  138.        odd size paper (like index cards, and wide computer paper)?  2:
  139.        (sorta related to (1)) I love those IBM Documentation Books that
  140.        hold the 5½" by 8½" pages.  I wanted to print out files that I
  141.        could easily cut down to size and put in those binders.  3: Page
  142.        Numbering: Printed books usually have the page numbers on the
  143.        outside corners of the pages (Good Place to have them when you're
  144.        looking for page 317.)  4: PRINTDOC needed disk space to save the
  145.        even pages of the printout.  If you run PRINTDOC on a 300k file,
  146.        you need 150k of space to save the even pages.  It Can't Be Done
  147.        on a 360k Floppy!  I said to myself, "Hey, I can write a program
  148.        to do that!," so that's how DocPRINT came to be.
  149.  
  150.        In June of '88, I sat down with my new copy of Microsoft QuickC
  151.        and began coding DocPRINT.  Since I'd never programmed in C, it
  152.        took me ages to get the hang of the language.  (Why some people
  153.        love to use it still makes me wonder.  I started with FORTRAN and
  154.        still swear by it.)  Two months later, finished product.  I've
  155.        tried my best to work out all the bugs, but I'm no computer
  156.        myself and there's still the chance that something in there
  157.        smells of RAID.
  158.  
  159.        Since I maintain a large library of Shareware programs and
  160.        documentation (even if I don't use them), DocPRINT should reduce
  161.        the amount (and weight) of my papers by half.  It should do the
  162.        same for you.  Even if you use the program rarely, the usefulness
  163.        of this utility should be worth the endeavor.
  164.  
  165.  
  166.      Page 4  DocPRINT
  167.  
  168.        Now in January of '91, as I look back at the development of
  169.        DocPRINT, I wonder how long it will go on.  The latest revision
  170.        (1.30) is the seventh set of improvements added at the request of
  171.        current users.  Your feedback IS IMPORTANT!  I'd never though of
  172.        many of them at the time.  You have to enjoy something to use it!
  173.  
  174.  
  175.                             License & Registration
  176.  
  177.               DocPRINT is Copyright 1988-91,  Lawrence Belan, ][
  178.                            All Rights are reserved.
  179.  
  180.  
  181.        Now for the part you've all been waiting for.  If you seem to be
  182.        financially well off, please consider sending a contribution.
  183.        I'm asking for only Ten Dollars.  If you do, send along some
  184.        constructive criticism for things YOU may want to see in later
  185.        versions of DocPRINT.  I don't plan on becoming rich with your
  186.        money, but it may help me stabilize my monetary standing and keep
  187.        my computer running.  Think about it.
  188.  
  189.             Send your Contribution to:    Lawrence Belan, ][
  190.                                           P.O. Box 47
  191.                                           259 Fourth Ave.
  192.                                           Crucible, PA  15325-0047
  193.  
  194.        Please include the version of DocPRINT you're using with your
  195.        phone number and/or CompuServe ID along with where you received
  196.        DocPRINT.  If you downloaded DocPRINT from a BBS, please include
  197.        the phone number for it too.  (It helps me distribute Updates a
  198.        lot faster!)  A registration form is included.
  199.  
  200.        Users may contact me via Electronic Mail at:
  201.        bp3@psuvm.psu.edu (internet)   75745,242 (CompuServe)
  202.        (I logon to CompuServe VERY seldom, so the internet address is
  203.        prefered.)  Registered users will receive priority response time.
  204.  
  205.        The end user of DocPRINT is free to copy and distribute DocPRINT
  206.        for noncommercial use provided:
  207.  
  208.             NO FEE IS CHARGED FOR DISTRIBUTION.
  209.             The code is NOT modified in any way.
  210.             DocPRINT is distributed in the Compressed Format ONLY!
  211.                  (DOCPRN.ZIP or DOCPRN.ZOO)
  212.  
  213.        Clubs & User Groups are permitted to distribute DocPRINT provided
  214.        that any charges to the user reflect the Media Cost Plus one (1)
  215.        dollar.  (Why should Groups profit from program distribution?
  216.        User Groups are established to provide a SERVICE to computer
  217.        users, not make a PROFIT.)  If you wish to distribute DocPRINT,
  218.        write me, and we'll work out some arrangement that both of us
  219.        will be happy about.
  220.  
  221.  
  222.                                                            DocPRINT  Page 5
  223.  
  224.        Commercial users of DocPRINT MUST Register.  Site License fees
  225.        are as follows:
  226.  
  227.              1 -  10 Copies ........................... $10.00 / Copy
  228.             11 -  50 Copies ........................... $ 8.00 / Copy
  229.             51 - 100 Copies ........................... $ 5.00 / Copy
  230.             100 +    Copies ........................... $ 3.00 / Copy
  231.  
  232.        If you look at the table, you'll see that it DOES pay to register
  233.        plenty of copies of the program.  Let everyone have a copy!
  234.  
  235.        Enjoy!
  236.  
  237.        This documentation was created using Microsoft Word 5.0 and
  238.        printed to disk using the TTYFF printer driver.  (Who said
  239.        everyone uses Word Perfect?)
  240.  
  241.  
  242.                                     Credits
  243.  
  244.                       Thanks go to the following people:
  245.  
  246.        Phillip Garding, for the double sided printing concept.
  247.        Germaine Fotta, for providing the incentive for writing the code.
  248.        My brother Christopher, for assisting in the Menu Implementation.
  249.        Gino DePaolis, for his assistance in the beta testing phase.
  250.        All of the registered users, you know who you are!
  251.  
  252.  
  253.                                   Trademarks
  254.  
  255.        IBM is a registered trademark, DOS and OS/2 are trademarks of
  256.             International Business Machines Corporation.
  257.        EPSON is a registered trademark of Seiko Epson Corporation.
  258.        Microsoft, QuickC and Windows are registered trademarks of
  259.             Microsoft Corporation.
  260.        Dots-Perfect is a trademark of Dresselhaus Computer Products.
  261.        Apple and LaserWriter are registered trademarks of Apple
  262.             Computer, Inc.
  263.        Word Perfect is a registered trademark of Word Perfect
  264.             Corporation.
  265.        Lotus and 1-2-3 are registered trademarks of Lotus Development
  266.             Corporation.
  267.        4DOS is a registered trademark of J.P. Software.
  268.        PC Magazine is a trademark of Ziff Communications Co.
  269.        CompuServe is a registered trademark of CompuServe, Inc.
  270.        COKE is a registered trademark of The Coca-Cola Bottling Co.
  271.        RAID is a registered trademark of S.C. Johnson & Son, Inc.
  272.  
  273.  
  274.      Page 6  DocPRINT
  275.  
  276.                          Files Included With DocPRINT
  277.  
  278.        DocPRINT.EXE
  279.  
  280.        DocPRINT is the executable program that does the formatting and
  281.        printing of your DOC files.  There are no other files necessary
  282.        for DocPRINT to run other than the File that you wish to print.
  283.  
  284.        MLL.EXE
  285.  
  286.        MLL is a support program that determines the Maximum Line Length                                                    _       _    _
  287.        of the given input file.  This program comes in handy when
  288.        determining how wide your printout should be.
  289.  
  290.        VIEW.COM
  291.  
  292.        VIEW is an ASCII file viewer.  To use it enter VIEW <filename> at
  293.        the DOS prompt.  The program is very simple to use.  The
  294.        instruction are at the bottom of the screen.
  295.  
  296.        PRSWAP.COM
  297.  
  298.        PRSWAP is a TSR program that changes Extended ASCII graphics
  299.        codes into dashes and lines.  Use this program First if you
  300.        printer does not support the Extended ASCII Set.
  301.  
  302.        PRSWAP.DOC
  303.  
  304.        The documentation file for PRSWAP.COM
  305.  
  306.        *.DPS
  307.  
  308.        These files are sample settings files used by DocPRINT.  They
  309.        contain settings and measurements for different types of output.
  310.        (There are 6 *.DPS files.)
  311.  
  312.        DOCPRINT.ICO
  313.  
  314.        The DocPRINT Icon for Windows 3.0
  315.  
  316.        DOCPRINT.PIF
  317.  
  318.        The DocPRINT Program Information File (PIF) for Windows 3.0
  319.  
  320.        DOCPRINT.DOC
  321.  
  322.        The file you are reading now.
  323.  
  324.        REGISTER.FRM
  325.  
  326.        This is the registration form.  Just copy it to your printer
  327.        (using COPY REGISTER.FRM LPT1 at the DOS promt), fill it out,
  328.        drop in $10, and mail.  Thank you.
  329.  
  330.  
  331.                                                            DocPRINT  Page 7
  332.  
  333.                              Before Using DocPRINT
  334.  
  335.        DocPRINT is simple to use, provided you have some information
  336.        about the file you wish to print and some measurements of the
  337.        paper you want to print on.
  338.  
  339.        Some things to know are:
  340.  
  341.        1:   Does the file you want to print already have FORM FEEDS in
  342.             it?  Use MLL, your favorite text editor or VIEW and see if
  343.             you find those strange FF characters in it.  (I'd show one
  344.             for an example, but it won't show up on your printer.)
  345.  
  346.        2:   Does the file have Page Numbers in it already?  Chances are
  347.             that if it does, you won't have to let DocPRINT add the page
  348.             numbers to the file.  (If the file has page numbers and NO                                   ___________________________________
  349.             Form Feeds make sure that you set the number of Body Lines            __________________________________________________________
  350.             to 66 in DocPRINT.)            __________________
  351.  
  352.        3:   What is the Maximum Line Length of the file to print?  The
  353.             best thing to do is run MLL on the file and let it tell you.
  354.             This count gives you an indication of how wide the longest
  355.             line of print will be and gives you a chance to adjust the
  356.             margins and printer font if necessary.
  357.  
  358.        4:   What is the Length and Width of the paper you will be
  359.             printing on?  (Not the length & width of the size you'd like
  360.             to print.  DocPRINT will place the text where needed.)
  361.  
  362.  
  363.        DocPRINT does manage most of the calculations automatically, but
  364.        for SPECIAL applications, you may need a calculator and a copy of
  365.        the DocPRINT Worksheet (The last page in this file.)
  366.  
  367.  
  368.      Page 8  DocPRINT
  369.  
  370.                                    Using MLL
  371.  
  372.        I wrote MLL because I needed to find out what the maximum line
  373.        length was for my source code file.  MLL will give you the count
  374.        in characters of the longest line any text file.  MLL takes into
  375.        consideration any lines that may be overprinted, such as
  376.        underlining, backspacing, and tab expansion.
  377.  
  378.        MLL is easy to use.  At the DOS prompt enter:
  379.  
  380.                                 MLL <filename>
  381.  
  382.        The filename can have Drive and Path specifiers if needed.  If
  383.        you do not give a filename on the command line, MLL will prompt
  384.        you for one.
  385.  
  386.        If no extension is given, MLL will assume ".DOC" as the
  387.        extension.  If the file you wish to test has no extension give
  388.        the name of the file as:
  389.  
  390.        MLL <filename.>   (include the period at the end of the filename)
  391.  
  392.        MLL will search through the file and it will report the number of
  393.        characters in the longest line of text as shown:
  394.  
  395.             The Maximum Line Length for filename is xxx characters.
  396.                              (xxx is some number)
  397.  
  398.        MLL will also inform you if there are FORM FEEDS in the file.
  399.  
  400.        This count will be useful when having DocPRINT format odd files.
  401.  
  402.        NOTE: MLL is now Built-In to DocPRINT and will automatically       NOTE:
  403.        insert it's calculations.  This should be beneficial to most
  404.        users, but MLL is still included for those of you who find it of
  405.        other value.
  406.  
  407.  
  408.                                                            DocPRINT  Page 9
  409.  
  410.                                 Using DocPRINT
  411.  
  412.  
  413.        DocPRINT is just as easy to start as MLL.  To start DocPRINT at
  414.        the DOS prompt enter:
  415.  
  416.                      DocPRINT <filename> <settingsname> /P
  417.  
  418.        DocPRINT can have two files on the command line.  The first is
  419.        the Document file to be printed and the second is the Settings
  420.        file. (For more on the Settings file, see Save Settings)  Both
  421.        files can have Drive and Path specifiers if necessary.  You MUST
  422.        enter a filename if you wish to enter a settingsname on the
  423.        command line.
  424.  
  425.        The /P parameter instructs DocPRINT to automatically load the           /P
  426.        file and start printing.  You must supply the name of the file
  427.        that you wish to print for the /P option to work.  If you supply
  428.        a settings file name, it will be loaded before printing begins.
  429.        This parameter puts DocPRINT into a Batch Mode. and requires NO
  430.        input if you have a Configuration file saved.  (Please see Save
  431.        User Configuration about that file.)  Use this option for files
  432.        that you create and print using a standard format.
  433.  
  434.        As in MLL, if the filename has no extension, DocPRINT assumes
  435.        ".DOC".  If the file has no extension, enter a period (.) after
  436.        the filename on the command line.
  437.  
  438.        The settingsname file is assumed to have the ".DPS" extension.
  439.        Since DocPRINT saves settings files with the ".DPS" extension,
  440.        you should be able to forget about entering the extension on the
  441.        command line.
  442.  
  443.        You don't have to enter either filename on the command line.  If
  444.        you choose not to, DocPRINT first determines if you have a Color
  445.        or Monochrome Display.  If a Color display is found, DocPRINT
  446.        needs to know if a Black & White Monitor is attached.  You can
  447.        respond accordingly.  (Running DocPRINT in color mode on a B&W
  448.        monitor will cause some messages to be VERY hard to read.)
  449.        DocPRINT then displays a Title Screen before proceeding to the
  450.        Main Menu.  In order to skip the Title Screen, you must enter at
  451.        least the filename on the command line.
  452.  
  453.        One added feature to versions 1.10 and later is that DocPRINT
  454.        looks for a file called DOCPRINT.CFG which contains a user
  455.        configuration including the type of Display that you are using.
  456.        (See Save User Configuration in the Option listing.)
  457.  
  458.        DocPRINT now has the capability to search your computer's
  459.        environment for TWO variables:  DOCPRINT and PATH.  When DocPRINT
  460.        need to find ANY file, it will First look in current directory,
  461.        then the directory named by the DOCPRINT variable, then last look
  462.        in the directories of the PATH variable.
  463.  
  464.  
  465.      Page 10  DocPRINT
  466.  
  467.                               DocPRINT's Main Menu
  468.  
  469.           After starting DocPRINT, the Main Menu appears on the
  470.           screen.  (If the Title Page appears, you did not filenames
  471.           on the command line.  Just hit any key to proceed to the
  472.           Main Menu.)
  473.  
  474.           This is how the Main Menu appears:
  475.  
  476. ┌───────────────────────────┤ DocPRINT Main Menu ├─────────────────────────────┐
  477. │  R Input Document File Name :                                                │
  478. │  D Settings File Name.......:                                                │
  479. │  L Form Length in Inches.... 11.00     O  Output Printer Port...... LPT1     │
  480. │  W Form Width in Inches.....  8.50     F  Printer Font & Size...... DFT10    │
  481. │  I Lines Per Inch...........    6      N  Page Numbering........... NO       │
  482. │  B Body Lines Per Page......   66      X  Pg. Number Location...... N/A      │
  483. │  C Characters Per Line......   80      V  Vertical Justification... CENTER   │
  484. │  H Horiz. (Left) Margin.....    0      M  Multi-Pass Printing...... SINGLE   │
  485. │  G Gutter Margin............    0      U  Save Current Configuration         │
  486. │                                        Z   > ReDisplay Main Menu <           │
  487. │                                                                              │
  488. │                           Your Selection --»                                 │
  489. │Pick Letter or:Alt-V - View:Alt-S - Shell:P - Print:S - Save Settings:Q - Quit│
  490. ├───────────────────────────────┤ Message Area ├───────────────────────────────┤
  491. │                                                                              │
  492. │                                                                              │
  493. │                                                                              │
  494. │                                                                              │
  495. │                                                                              │
  496. │                                                                              │
  497. │                                                                              │
  498. │                                                                              │
  499. └──────────────────────────────────────────────────────────────────────────────┘
  500.  
  501.           The selection of options is performed by entering the
  502.           highlighted letter before the option.
  503.  
  504.           Once an option is selected the Message Area gives a
  505.           description of that selection and a list of choices or
  506.           allows you to enter a number (as in the Page Length).
  507.  
  508.           You are able to Abort any option by hitting the Enter key
  509.           with no input.
  510.  
  511.           Option Z is here to redisplay the Main Menu in case some of
  512.           the screen is lost or disfigured by DOS or when entering the
  513.           wrong sequence of keys at some options.  (Hopefully in later
  514.           versions, this will not be necessary.)
  515.  
  516.           Beside each option is it's setting.  This may be different
  517.           if you are using a Settings File.
  518.  
  519.           Each option has a unique letter.  The correlation between
  520.           the option and it's assigned letter will become apparent
  521.           after a few DocPRINT runs.
  522.  
  523.  
  524.                                                           DocPRINT  Page 11
  525.  
  526.                            Setting DocPRINT Options
  527.  
  528.                  The following describes each DocPRINT option.
  529.  
  530.  
  531.        R    Input Document File (the file to Read)
  532.  
  533.             Default:  none (or file entered on command line, if found.)
  534.  
  535.             Value:    any DOS ASCII file.
  536.  
  537.             When selected, this option allows you to enter the name of
  538.             the file you wish to print.  You can enter Drive and Path
  539.             specifications to locate the file.  If you leave the
  540.             Extension off of the name, DocPRINT automatically appends
  541.             ".DOC" to the filename.  For reading files with NO extension
  542.             enter the filename followed with a period (.).
  543.  
  544.             Examples: A:\docs\file   (looks for A:\docs\file.doc)
  545.                       sample         (looks for sample.doc)
  546.                       sample.        (looks for sample)
  547.  
  548.             DocPRINT will first search the directory specified in the
  549.             DOCPRINT environment variable.  If not found, it will then
  550.             search your PATH variable.  If it is not found, a message
  551.             will be printed, and DocPRINT will ask for another filename.
  552.  
  553.             Once DocPRINT finds the file, it asks if the MLL values
  554.             should be calculated.  You can respond Yes or No.  If you
  555.             choose Yes, DocPRINT calculates the longest line and sets
  556.             the line length to that number.  The Horizontal margin will
  557.             be adjusted for centered lines.  If you choose No, DocPRINT
  558.             skips the calculations and just loads the file.  You should                                                             __________
  559.             know the line length of your file by running MLL previously            ___________________________________________________________
  560.             or by loading a settings file that was previously saved.            ________________________________________________________
  561.  
  562.  
  563.        D    Settings File Name (save to Disk)
  564.  
  565.             Default:  none (or file named on the command line, if found)
  566.  
  567.             Value:    Any DocPRINT Settings File
  568.  
  569.             When selected, this option allows you to enter the name of
  570.             the Settings file you wish to load.  You can enter Drive and
  571.             Path specifications to locate the file.  If you leave the
  572.             Extension off of the name, DocPRINT automatically appends
  573.             ".DPS" to the filename.  For reading files with NO extension
  574.             enter the filename followed with a period (.).
  575.  
  576.             Examples: A:\docs\file   (looks for A:\docs\file.DPS)
  577.                       sample         (looks for sample.DPS directory)
  578.                       sample.        (looks for sample)
  579.  
  580.  
  581.      Page 12  DocPRINT
  582.  
  583.             DocPRINT will first search the directory specified in the
  584.             DOCPRINT environment variable.  If not found, it will then
  585.             search your PATH variable.  If it is not found, a message
  586.             will be printed, and DocPRINT will ask for another filename.
  587.  
  588.  
  589.        L    Form Length in Inches
  590.  
  591.             Default:  11.00 inches
  592.  
  593.             Value:    any number between 2 and 15 inches (I have never
  594.                       seen a form with a length that is NOT a multiple
  595.                       of ½", so please stick with WHOLE or HALF inches.)
  596.  
  597.             Choosing this option allows you to change the length of the
  598.             paper you are using with DocPRINT.  Enter the length in
  599.             inches and hit Enter.
  600.  
  601.             Automatic Calculations:
  602.  
  603.             Changing the length will automatically change the Body Lines
  604.             per Page (number of lines to print on each page) while
  605.             preserving the total Margin (Top & Bottom).  If DocPRINT was
  606.             set at 11 inches per page and 66 body lines at 6 Lines per
  607.             Inch (no margin here), changing the form length to 12 inches
  608.             will increase the Body Lines per Page to 72.  Going from 11
  609.             inches per page and 60 Body Lines at 6 Lines per Inch (6
  610.             lines of margin) to 10 inches per page will result in 54
  611.             Body Lines per Page (maintaining the 6 lines of margin).
  612.  
  613.  
  614.        W    Form Width in Inches
  615.  
  616.             Default:  8.50 inches
  617.  
  618.             Value:    any number between 2 and 13.5 inches (just for
  619.                       simplicity, only use whole or half inches)
  620.  
  621.             This option allows you to set the width of your paper in
  622.             inches.  Please be sure not to set it larger than what your
  623.             printer can handle.
  624.  
  625.             (MOST EPSON NARROW CARRIAGE PRINTERS CAN ONLY PRINT A LENGTH
  626.             OF 8 INCHES!  IF YOU HAVE ONE OF THESE PRINTERS SET YOUR
  627.             FORM WIDTH TO A MAXIMUM OF 8 INCHES.)
  628.  
  629.             Automatic Calculations:
  630.  
  631.             By changing the width of your print form, the Horizontal
  632.             Margin will be increased or decreased so that the Characters
  633.             per Line in the Printer Font Size will be centered.  If
  634.             there is NOT enough room on the line to print Characters per
  635.             Line you will be taken to select a smaller Font Size!
  636.  
  637.  
  638.                                                           DocPRINT  Page 13
  639.  
  640.        I    Lines Per Inch
  641.  
  642.             Default:  6
  643.  
  644.             Value:    6 or 8 Lines per Inch
  645.  
  646.             This option selects the line spacing for the printout.
  647.  
  648.             Automatic Calculations:
  649.  
  650.             By changing the line spacing, DocPRINT will adjust the Body
  651.             Lines per Page so that the height of the Top & Bottom
  652.             Margins will remain constant.  If you have 60 Body Lines at
  653.             6 Lines Per Inch on an 11 inch form (6 lines of Margin - 1
  654.             Inch) and you change to 8 Lines per Inch, DocPRINT will give
  655.             you 80 Body Lines (leaving 8 Margin lines - 1 Inch).
  656.  
  657.  
  658.        C    Characters Per Line
  659.  
  660.             Default:  80
  661.  
  662.             Value:    from 0 to the maximum allowed using the Form Width
  663.                       and Font Size
  664.  
  665.             This option allows you to change the length of the printed
  666.             lines on the printout.  WARNING!, DO NOT USE ANY VALUE LESS
  667.             THAN THE LENGTH THE PROGRAM MLL GIVES YOU!
  668.  
  669.             Automatic Calculations:
  670.  
  671.             By changing the length of the print line, the Horizontal
  672.             Margin will be adjusted so that the print line will be
  673.             centered on the page.  If you have the Multi-Pass option set
  674.             to DOUBLE, there will be no adjustment.
  675.  
  676.  
  677.        H    Horizontal (Left) Margin
  678.  
  679.             Default:  0 characters
  680.  
  681.             Value:    DocPRINT supplies the range of values the you can
  682.                       offset the printing by using the current Form
  683.                       Width, Characters Per Line, and Font Size.
  684.  
  685.             This option allows you to change the left margin of the
  686.             paper when printing single sided pages (Multi-Pass option
  687.             set to SINGLE).  This allows you to set a Left Margin to
  688.             enable hole punching, etc. of your printout.
  689.  
  690.             Automatic Calculations:
  691.  
  692.             None.
  693.  
  694.  
  695.      Page 14  DocPRINT
  696.  
  697.        G    Gutter Margin
  698.  
  699.             Default:  0 characters
  700.  
  701.             Value:    DocPRINT supplies the range of values the you can
  702.                       offset the printing by using the current Form
  703.                       Width, Characters Per Line, and Font Size.
  704.  
  705.             You have access to this option ONLY when printing on BOTH
  706.             sides of the paper (Multi-Pass option set to DOUBLE).  This
  707.             gutter margin is on the Left side of the paper for the odd
  708.             pages and on the right side of the paper for even pages.
  709.             This gives you room for punching holes on the left side of
  710.             the odd pages.
  711.  
  712.             Automatic Calculations:
  713.  
  714.             None
  715.  
  716.  
  717.        O    Output Printer Port
  718.  
  719.             Default:  LPT1
  720.  
  721.             Value:    from LPT1 to LPT4
  722.  
  723.             This option allows you to set which Parallel port your
  724.             printer is attached to.  For those of you that have your
  725.             EPSON printer connected to your serial port, try using the
  726.             DOS MODE LPTx = COMy command.  (Why on earth would you have
  727.             a printer hooked to a serial port?  I'm still waiting for
  728.             the day that Apple comes out with a LaserWriter with a
  729.             parallel input.)
  730.  
  731.             For versions 1.23 and later:
  732.  
  733.             AFTER this option is selected, you will then be asked it you
  734.             want the Leader Page printed.  This leader page is VERY
  735.             IMPORTANT if your printer has a PULL tractor.  Please set it
  736.             to YES if you have one.  If your printer has a PUSH Tractor,
  737.             like the Epson FX/LQ 850/1050, you may set this to the NO
  738.             selection.  This will save you an extra sheet of paper.
  739.  
  740.  
  741.        F    Printer Font & Size
  742.  
  743.             Default:  Draft 10 CPI (Characters Per Inch)
  744.  
  745.             Value:    Either Draft or NLQ mode
  746.                       at 10, 12, 15, 17, or 20 CPI
  747.  
  748.             This option allows you to change the font and size of
  749.             characters printed.  Those of you with EPSON LQ printers,
  750.             NLQ is Letter Quality Mode in the Roman Font.  I think that
  751.             you should stick with Draft Mode unless you want you
  752.             printout to look it's best (The extra wear & tear on the
  753.             printhead may be costly over the long run.)
  754.  
  755.  
  756.                                                           DocPRINT  Page 15
  757.  
  758.  
  759.             IF YOUR PRINTER DOES NOT SUPPORT ELITE MODES (12 CPI), YOU
  760.             SHOULD NOT CHOOSE ELITE OR CONDENSED ELITE (20 CPI) PRINT
  761.             MODES!  THE SAME APPLIES TO PRINTERS THAT DO NOT SUPPORT
  762.             FIFTEEN PITCH MODES!   CHECK YOU PRINTER MANUAL TO BE SURE!
  763.  
  764.             IF YOU PRINTER DOES NOT SUPPORT NLQ MODE, DO NOT SELECT IT!
  765.  
  766.             Automatic Calculations:
  767.  
  768.             DocPRINT will adjust the Horizontal Margin so that the lines
  769.             are centered if the Multi-Pass Printing is set to SINGLE!
  770.             If you had manually adjusted the Horizontal Margin, you will
  771.             have to readjust it again.  DocPRINT is just making sure
  772.             that your printout is neat looking.  You may make it messy
  773.             if you wish.
  774.  
  775.             If you select a LARGER size and the present Margins will not
  776.             allow it, you will be forced to select a smaller size.  If
  777.             you insist on a larger Font Size, first reduce the Margins
  778.             then select the larger Font Size.
  779.  
  780.  
  781.        N    Page Numbering
  782.  
  783.             Default:  NO page numbering
  784.  
  785.             Value:    YES or NO
  786.  
  787.             This option lets you select if DocPRINT will print the page
  788.             numbers on each page of the print out.  If you select YES,
  789.             you will automatically go to the option of where on the page
  790.             you want the page numbers printed.
  791.  
  792.             Automatic Calculations:
  793.  
  794.             If you choose YES, DocPRINT will reduce the Body Lines per
  795.             Page by TWO in order to put the page number on.  If there is
  796.             already a margin of TWO OR MORE lines, DocPRINT will use TWO
  797.             of those lines automatically.
  798.  
  799.             If you choose NO, and there are only TWO lines of margin on
  800.             the page, DocPRINT will reduce the margin to ZERO and
  801.             increase the Body Lines per Page by TWO.
  802.  
  803.  
  804.        X    Page Number Location
  805.  
  806.             Default:  N/A (not applicable since page numbering is NO)
  807.  
  808.             Value:    select from the TOP or BOTTOM of the page
  809.                       in the LEFT or RIGHT corners or CENTERED
  810.  
  811.             TOP prints the page number then a blank line before the text
  812.             at the top of the page.
  813.             BOTTOM prints the text then a blank line then the page
  814.             number at the bottom of the page.
  815.  
  816.  
  817.      Page 16  DocPRINT
  818.  
  819.  
  820.             If Multi-Pass Printing is set to SINGLE, page numbers will
  821.             appear where selected.
  822.  
  823.             If Multi-Pass Printing is set to DOUBLE, page numbers will
  824.             appear where selected for ODD pages and on the OPPOSITE side
  825.             (Centered if Centered was selected) on EVEN pages.
  826.             Example:  If printing Double sided pages with the page
  827.             number in the TOP Right corner of the page, Page 1 will have
  828.             the number in the top right corner, page 2 will have the
  829.             number in the top left corner.  (If your confused, pick up a
  830.             book and look at the page numbers, you'll understand.)
  831.  
  832.             PAGE NUMBERS ARE PLACED IN RELATION TO THE PRINT LINE
  833.             LOCATION, NOT THE PRINT FORM.  (Centered numbers will be
  834.             centered under the text, NOT centered on the page.)
  835.  
  836.  
  837.        V    Vertical Justification
  838.  
  839.             Default:  CENTER
  840.  
  841.             Value:    TOP, CENTER, or BOTTOM
  842.  
  843.             This option allows you to justify the pages on the paper.
  844.             TOP starts printing at the Top of the Form.
  845.             CENTER allows half of the margin to be printed at the top
  846.                    of the form and half to be printed at the bottom
  847.                    of the form (If the Body Lines is Less than the
  848.                    Maximum lines per page.)
  849.             BOTTOM allows all of the margin to be printed at the Top of
  850.                    form.
  851.  
  852.             This option is useful if you want to print on 8½ x 11 paper
  853.             to achieve a 5½ x 8½ sheet of paper by TOP justifying the
  854.             text.  This option also makes an 8 line per inch printout
  855.             look good when CENTERED.
  856.  
  857.             IF PAGE NUMBERING IS ON, TWO OF THE MARGIN LINES ARE USED
  858.             FOR THE PAGE NUMBER.
  859.  
  860.  
  861.        M    Multi-Pass Printing
  862.  
  863.             Default:  SINGLE
  864.  
  865.             Value:    SINGLE or DOUBLE
  866.  
  867.             This option allows you to print using just one side of the
  868.             paper or both sides.  This feature is the main function of
  869.             DocPRINT.  When printing DOUBLE the printer first prints
  870.             pages 1, 3, 5, etc. then tells you to turn over the paper.
  871.             Then DocPRINT prints pages 2, 4, 6, etc. on the back of the
  872.             other pages so you get a nice printout with page 2 on back
  873.             of page 1, etc.
  874.  
  875.  
  876.                                                           DocPRINT  Page 17
  877.  
  878.             DocPRINT PRINTS A MESSAGE ON A LEADER PAGE (IF YOU'VE CHOSEN                                                        ________________
  879.             TO PRINT IT OUT FROM THE PRINTER PORT OPTION) TO REMIND YOU            ____________________________________________
  880.             THAT DOUBLE SIDED PRINTING HAS BEEN CHOSEN.
  881.  
  882.             WHEN THE ODD PAGES ARE FINISHED, YOU TAKE OUT THE PAPER AND
  883.             TURN IT OVER, SO THAT THE LEADER PAGE MESSAGE IS NOT ON THE
  884.             PRINTING SIDE AND THEN CONTINUE WITH THE EVEN PAGES.
  885.  
  886.             THIS LEADER PAGE IS PRESENT FOR THOSE OF YOU THAT HAVE A
  887.             PULL TRACTOR (THE TRACTOR HOLDS PAPER AFTER IT HAS BEEN
  888.             PRINTED.)  PLEASE MAKE SURE THAT YOU START WITH THE
  889.             PERFORATION BELOW THE PAGE WITH THIS MESSAGE!!!                        _____
  890.  
  891.             YOU MAY SHUT OFF THE PRINTER TO CHANGE THE PAPER.
  892.  
  893.             CHANCES ARE THAT YOU WILL MESS UP A FEW TIMES BEFORE YOU
  894.             BECOME ACCUSTOMED TO CHANGING THE PAPER.  IT HAPPENED TO ME
  895.             MANY TIMES.
  896.  
  897.  
  898.        U    Save User Configuration
  899.  
  900.             This option allows you to save the current state of
  901.             DocPRINT's settings and configuration (including monitor
  902.             type, Print Style, and leader page selection) to a file
  903.             called DOCPRINT.CFG.  When you use it the first time,
  904.             DocPRINT will save this file in the CURRENT directory.
  905.             Subsequent runs of DocPRINT will search the current
  906.             directory to see if DOCPRINT.CFG exists.  If not found, it
  907.             will then search your environment for a variable called
  908.             DOCPRINT.  You can set this by issuing the command:
  909.  
  910.                  SET DOCPRINT=C:\UTILS
  911.  
  912.             in your autoexec.bat file or a batch file that runs
  913.             DocPRINT.  If the DOCPRINT variable is not found, the search
  914.             will continue using the PATH variable.  Once the
  915.             DOCPRINT.CFG file is found, the program remembers where it
  916.             was loaded from and will OVERWRITE it is you wish to resave
  917.             the configuration later.
  918.  
  919.  
  920.        Z    ReDisplay the Main Menu
  921.  
  922.             This option is here in case the display becomes corrupted
  923.             either by DOS messages or bad entry of data.  Since I'm not
  924.             writing in assembly yet, the input routines for some of the
  925.             options may cause the cursor to get lost on the screen.
  926.  
  927.             If you think that this has happened, first hit the Esc key,
  928.             then hit the Enter key.  After that hit Z to clear and
  929.             redisplay the Main Menu.
  930.  
  931.  
  932.      Page 18  DocPRINT
  933.  
  934.        P    Print
  935.  
  936.             Once you have selected the Print option, DocPRINT asks to
  937.             continue.  After that, DocPRINT checks to see if the printer
  938.             is ready.  If not, you will be instructed to check the
  939.             printer.  Error checking is done by DocPRINT throughout the
  940.             printing process.  Should an error occur, DocPRINT will
  941.             notify you.  (Just to be safe, make sure that you have
  942.             plenty of paper for the printout!  That will usually be the
  943.             major cause of Errors.)
  944.  
  945.             While DocPRINT is sending the file to the printer, you may
  946.             pause the program at any time by striking any key.  DocPRINT
  947.             will acknowledge that it has paused.  You may hit the
  948.             SPACEBAR to continue or hit the Q key to Abort the printout
  949.             and return to the menu.
  950.  
  951.  
  952.        S    Save Settings
  953.  
  954.             This option allows you to save all of DocPRINT's settings
  955.             except the Document Filename and the Settings Filename.  You
  956.             will be prompted to enter a filename to save the settings.
  957.             Drive and Path specifications are permitted.  If the file
  958.             already exists, DocPRINT will ask if you wish to overwrite
  959.             it.  You may respond Y or N.  Once the settings are saved,
  960.             the name of the file appears in the Main Menu.
  961.  
  962.             If you wish to use the same settings for another file, you
  963.             may specify the name of the file as the second filename on
  964.             the command line when starting DocPRINT.
  965.  
  966.  
  967.  
  968.        Q    Quit DocPRINT
  969.  
  970.             If DocPRINT's settings are NOT saved, DocPRINT will ask if
  971.             you're sure you want to quit.  (Like Lotus 1-2-3.)  If you
  972.             don't wish to save them, just reply Y to the prompt.
  973.  
  974.             Self Explanatory.  (Back to DOS)
  975.  
  976.  
  977.                                                           DocPRINT  Page 19
  978.  
  979.  
  980.  
  981.           The Following Commands are NEW to version 1.20 and later of          ___________________________________________________________
  982.                                       DocPRINT                                      ________
  983.  
  984.  
  985.        Alt-V     View the DOC File
  986.  
  987.             The Alt-V combo will shell out of DocPRINT and call the
  988.             VIEW.COM program to allow you to see what you are about
  989.             ready to print. VIEW.COM must be in the current directory or
  990.             available via the PATH variable.  (Please consult your DOS
  991.             manual about the PATH variable.)
  992.  
  993.             To exit the VIEW program, hit the Esc key, and you will
  994.             return to DocPRINT.
  995.  
  996.  
  997.  
  998.        Alt-S     Shell Out to DOS
  999.  
  1000.             The Alt-S combo allows you to shell out of DocPRINT to DOS
  1001.             to perform any command you need (like a DIR or COPY).  If
  1002.             memory permits, the command interpreter indicated by the
  1003.             COMSPEC environment variable will be loaded.
  1004.  
  1005.             By using the COMSPEC variable, you can be assured that the
  1006.             correct version of COMMAND.COM (or other programs like 4DOS)
  1007.             will automatically load.  And since COMSPEC is automatically
  1008.             assigned, you don't have to worry about it (unless you're a
  1009.             power user).
  1010.  
  1011.             REMEMBER you must type EXIT at the DOS prompt to return back            REMEMBER
  1012.             to DocPRINT.  Your DOS prompt will remind you that you have
  1013.             shelled to DOS from DocPRINT.
  1014.  
  1015.  
  1016.      Page 20  DocPRINT
  1017.  
  1018.                                DocPRINT Examples
  1019.  
  1020.        Printing Using The Single Pass Option
  1021.  
  1022.        The first DocPRINT example will be to print out a file using only
  1023.        one side of the paper.
  1024.  
  1025.        If you wish, you may use the DocPRINT.Doc file.
  1026.  
  1027.        Start up DocPRINT by entering DOCPRINT at the DOS prompt.  After
  1028.        you see the title message strike any key to continue to the Main
  1029.        Menu.  Hit the R key to bring up the input file menu.
  1030.  
  1031.        Enter:  drive:\path\DOCPRINT
  1032.                (The drive and path are where you have DocPRINT)
  1033.  
  1034.        The menu will show after the selection that DOCPRINT.DOC is
  1035.        selected to be printed.
  1036.  
  1037.        (Since this file already has Form Feeds AND Page Numbers,
  1038.        selections N (Page Numbering) and X (Page Number Location) can be
  1039.        set to NO and N/A respectfully.  If they are not, select N from
  1040.        the Main Menu then hit N for No page numbering.
  1041.  
  1042.        The number of Characters Per Line is 80 so hit C then type in 80
  1043.        and hit enter.
  1044.  
  1045.        This file will print nicely on 8½"(W) x 11"(L) paper, (which
  1046.        should be used for this example) so set the Form Length to 11 and
  1047.        the Form Width to 8.5 inches.  Strike the L key for Form Length
  1048.        and type in 11 and hit enter.  Then strike the W key for Form
  1049.        Width then type in 8 and hit enter.
  1050.  
  1051.        (IF YOU HAVE AN EPSON PRINTER WITH AN 80 COLUMN CARRIAGE SUCH AS
  1052.        THE MX OR FX-80 OR THE LQ-800, SET THE FORM WIDTH TO 8 INCHES AND
  1053.        CENTER YOUR PAPER ON THE TRACTOR SO THERE IS A ¼" OF SPACE ON
  1054.        BOTH SIDES!  THIS IS VERY IMPORTANT FOR PRINTING DOUBLE SIDED
  1055.        PAGES!)
  1056.  
  1057.        (Those of you that have the wide carriage, keep the width to 8
  1058.        inches for this example.)
  1059.  
  1060.        You may now choose the line spacing you wish.  Hit I for Lines
  1061.        Per Inch and select 6 for the line spacing.
  1062.  
  1063.        For the Vertical Justification, set it to CENTER.  Hit V then C
  1064.        for CENTERED output.
  1065.  
  1066.        Next, set the Printer Font & Size to Draft 10CPI (DFT10).  strike
  1067.        the F key then enter 0 for the Draft Font in 10 Characters Per
  1068.        Inch.  Notice that the Horizontal Margin has been adjusted so
  1069.        that the lines will be centered.  (If the Form Width is 8" there
  1070.        is No margin, it will be set to 0.)
  1071.  
  1072.  
  1073.                                                           DocPRINT  Page 21
  1074.  
  1075.        At this point, DocPRINT's menu should look like this:
  1076.  
  1077.  
  1078. ┌───────────────────────────┤ DocPRINT Main Menu ├─────────────────────────────┐
  1079. │ R  Input Document File Name : DOCPRINT.DOC                                   │
  1080. │ D  Settings File Name.......:                                                │
  1081. │ L  Form Length in Inches.... 11.00     O  Output Printer Port...... LPT1     │
  1082. │ W  Form Width in Inches.....  8.00     F  Printer Font & Size...... DFT10    │
  1083. │ I  Lines Per Inch...........    6      N  Page Numbering........... NO       │
  1084. │ B  Body Lines Per Page......   66      X  Pg. Number Location...... N/A      │
  1085. │ C  Characters Per Line......   80      V  Vertical Justification... CENTER   │
  1086. │ H  Horiz. (Left) Margin.....    0      M  Multi-Pass Printing...... SINGLE   │
  1087. │ G  Gutter Margin............    0      U  Save User Configuration            │
  1088. │                                        Z   > ReDisplay Main Menu <           │
  1089. │                                                                              │
  1090. │                           Your Selection --»                                 │
  1091. │Pick Letter or:Alt-V - View:Alt-S - Shell:P - Print:S - Save Settings:Q - Quit│
  1092.  
  1093.  
  1094.        This sample is on the disk called SINGLE.DPS.  If your printer
  1095.        isn't on LPT1, go ahead and change it to the port that you have
  1096.        your printer on.
  1097.  
  1098.        Also make sure that the Multi-Pass Printing option is set to
  1099.        SINGLE.  (Change it if necessary.)
  1100.  
  1101.        You may wish to print it out now, BUT DocPRINT can do a better
  1102.        job of printing for you.  Using a little math, you will see that
  1103.        there will be very little room on the side of the paper for
  1104.        punching holes in the pages.  DocPRINT can give you that extra
  1105.        room.
  1106.  
  1107.  
  1108.        Enhancing The Single Sided Printout
  1109.  
  1110.  
  1111.        If we print out 80 characters at 10 CPI, that makes a line length
  1112.        of 8 inches.  (That's as wide as our paper almost!)  Let's reduce
  1113.        that by changing the Printer Font & Size.
  1114.  
  1115.        Select F for Font & Size and select Draft 17CPI.  Notice that the
  1116.        Horizontal Margin has changed to 28 characters (almost 1.75
  1117.        inches of margin).  That's plenty of room to punch holes on the
  1118.        side!
  1119.  
  1120.        If you wish you can now print out the file.  Make sure your paper
  1121.        is aligned at the Top of Form (The perforation of the paper
  1122.        should be right above the Print Head).  Turn on your printer and
  1123.        let it go!  This sample is on the disk as SINGLEM.DPS.
  1124.  
  1125.        Of course you can change the line spacing, move the Horizontal
  1126.        Margin some more, etc.  Change an option and print it out again.
  1127.        Tinker with DocPRINT till you get the output you like best, then
  1128.        SAVE the settings using the S option.  Then instead of
  1129.        remembering what was set to what, load the Setting File using the
  1130.        D option.
  1131.  
  1132.  
  1133.      Page 22  DocPRINT
  1134.  
  1135.        Printing Using The Double Sided Option
  1136.  
  1137.  
  1138.        Hopefully, you have worked through the Single Sided example.  Now
  1139.        we will set DocPRINT for printing double sided pages.
  1140.  
  1141.        Setup DocPRINT like below:
  1142.  
  1143. ┌───────────────────────────┤ DocPRINT Main Menu ├─────────────────────────────┐
  1144. │ R  Input Document File Name : DOCPRINT.DOC                                   │
  1145. │ D  Settings File Name.......:                                                │
  1146. │ L  Form Length in Inches.... 11.00     O  Output Printer Port...... LPT1     │
  1147. │ W  Form Width in Inches.....  8.00     F  Printer Font & Size...... DFT17    │
  1148. │ I  Lines Per Inch...........    6      N  Page Numbering........... NO       │
  1149. │ B  Body Lines Per Page......   66      X  Pg. Number Location...... N/A      │
  1150. │ C  Characters Per Line......   80      V  Vertical Justification... CENTER   │
  1151. │ H  Horiz. (Left) Margin.....    0      M  Multi-Pass Printing...... DOUBLE   │
  1152. │ G  Gutter Margin............   17      U  Save User Configuration            │
  1153. │                                        Z   > ReDisplay Main Menu <           │
  1154. │                                                                              │
  1155. │                           Your Selection --»                                 │
  1156. │Pick Letter or:Alt-V - View:Alt-S - Shell:P - Print:S - Save Settings:Q - Quit│
  1157.  
  1158.  
  1159.        This sample is on the disk as DOUBLE.DPS.  Taking a close look at
  1160.        the settings, DocPRINT is ready to print double sided pages using
  1161.        a 17 character gutter margin in 17CPI characters (a 1" margin).
  1162.        This means on the ODD pages a 1 inch margin will be on the Left
  1163.        side and for the EVEN pages a 1 inch margin will be on the Right
  1164.        side.  That should be enough room to punch holes in the paper.
  1165.  
  1166.        The Body Lines per page is set to 66 since this DOC file has Form
  1167.        Feeds in it already.
  1168.  
  1169.        You could now print the file out Double Sided.  Page 2 would be
  1170.        on the back of Page 1, etc.  Just like a book would be printed.
  1171.        Saves paper too!
  1172.  
  1173.  
  1174.        Getting Fancy With Double Sided Printing
  1175.  
  1176.  
  1177.        The question now, is how can you reduce the size of the output to
  1178.        print on a sheet that can be cut down to 5½" x 8½".  This is
  1179.        where the DocPRINT Worksheet comes in handy.
  1180.  
  1181.        The key to printing smaller sheets is by telling DocPRINT the
  1182.        ACTUAL size of the paper that you are using then adjusting the
  1183.        spacing, margins, font, and justification.  Make sure that
  1184.        DocPRINT has the ACTUAL Form Width and Length.  (Remember, if you
  1185.        have a narrow carriage, set the Form Width to 8".)
  1186.  
  1187.        In order to have DocPRINT print on 8½" x 11" paper to achieve a
  1188.        5½" x 8½" page is a little complicated, but after doing it a few
  1189.        times, you should get the hang of it.
  1190.  
  1191.  
  1192.                                                           DocPRINT  Page 23
  1193.  
  1194.        First, find the Maximum Line Length of the file.  Run MLL to see
  1195.        how long it is and set Characters Per Line to that number.
  1196.  
  1197.        Second, set the Vertical Justification to begin printing at the
  1198.        TOP of the sheet of paper. (If you have to cut it down, why not
  1199.        start with a square edge at the top.)
  1200.  
  1201.        Third, most DOC files assume 66 lines per page (11 inches at 6
  1202.        lines per inch = 66 lines).  For a 8½" page, you can fit 68 lines
  1203.        on the page at 8 lines per inch, so set the Lines Per Inch to 8.
  1204.  
  1205.        Fourth, given the Characters Per Line, find out how many inches a
  1206.        line would take to print.  (If it were 80, at 10CPI it would take
  1207.        8" to print it out, at 17CPI it would take only 4.7 inches, quite
  1208.        a reduction!  If your printer supports 20CPI it would only take 4
  1209.        inches!)  Your task is to calculate the best Font Size to print
  1210.        the Characters Per Line in less than 5 inches!  (Not too Hard.)
  1211.        When you have it, set the Printer Font & Size accordingly.
  1212.  
  1213.        Last, set the Gutter Margin to at least ½", this will give you
  1214.        enough room to punch the sheets to put in your DOS binder.  (You
  1215.        can throw out the contents, unless you need them.)  Set the
  1216.        Gutter Margin from 8 - 10 characters if the Font Size you are
  1217.        using is 17 or 20 CPI.
  1218.  
  1219.        There is a sample Setting file called IBMBKNP.DPS..  You may wish
  1220.        to compare it's settings to yours.  Another sample file,
  1221.        IBMBKPG.DPS is the same except that page numbers are to be
  1222.        printed also.
  1223.  
  1224.        The Main Menu for IBMBKNP.DPS looks like:
  1225.  
  1226.  
  1227. ┌───────────────────────────┤ DocPRINT Main Menu ├─────────────────────────────┐
  1228. │ R  Input Document File Name :                                                │
  1229. │ D  Settings File Name.......: IBMBKNP.DPS                                    │
  1230. │ L  Form Length in Inches.... 11.00     O  Output Printer Port...... LPT1     │
  1231. │ W  Form Width in Inches.....  8.00     F  Printer Font & Size...... DFT17    │
  1232. │ I  Lines Per Inch...........    8      N  Page Numbering........... NO       │
  1233. │ B  Body Lines Per Page......   66      X  Pg. Number Location...... N/A      │
  1234. │ C  Characters Per Line......   80      V  Vertical Justification... TOP      │
  1235. │ H  Horiz. (Left) Margin.....    0      M  Multi-Pass Printing...... DOUBLE   │
  1236. │ G  Gutter Margin............   10      U  Save User Configuration            │
  1237. │                                        Z   > ReDisplay Main Menu <           │
  1238. │                                                                              │
  1239. │                           Your Selection --»                                 │
  1240. │Pick Letter or:Alt-V - View:Alt-S - Shell:P - Print:S - Save Settings:Q - Quit│
  1241.  
  1242.  
  1243.        You can now print the file and see the results.
  1244.  
  1245.  
  1246.      Page 24  DocPRINT
  1247.  
  1248.                              Comments & Counseling
  1249.  
  1250.  
  1251.        DocPRINT has many uses, probably more than I had imagined when I
  1252.        started writing it.  I hope that you enjoy using DocPRINT.
  1253.  
  1254.  
  1255.        Advanced uses for DocPRINT
  1256.  
  1257.        As mentioned earlier in the manual, DocPRINT has been updated to
  1258.        be used in a Batch Mode by using the /P parameter.  If you print
  1259.        the same types of files using DocPRINT, and saved corresponding
  1260.        ".DPS" (settings) files, you can run DocPRINT without any user
  1261.        input (other that the prompt to tell you to flip the paper over).
  1262.  
  1263.        By storing all of your DocPRINT ".CFG" and ".DPS" files in one
  1264.        directory, and adding the statment: SET DOCPRINT=<drive>:\<path>,
  1265.        DocPRINT will automatically look in that directory for these
  1266.        files.  No more dozens of DOCPRINT.CFG floating around on your
  1267.        hard disk!  Let's say you keep all of you DocPRINT files in your
  1268.        C:\UTILS directory.  Here's a simple batch file to speed up your
  1269.        work; You can call it DCP.BAT.
  1270.  
  1271.        ECHO OFF
  1272.        CLS
  1273.        SET DOCPRINT=C:\UTILS
  1274.        DOCPRINT %1 LETTER /P
  1275.        SET DOCPRINT=
  1276.  
  1277.        The %1 allows you to enter the DOC file name from the batch file.
  1278.        If the file was called SAMPLE.DOC, you would enter DCP SAMPLE,
  1279.        and away it goes!
  1280.  
  1281.        If you have planned ahead and placed your DocPRINT files in a
  1282.        directory listed in your PATH variable, you're already set, since
  1283.        DocPRINT will search your PATH variable if the DOCPRINT variable
  1284.        is not set.
  1285.  
  1286.        My system PATH variable is set to:
  1287.  
  1288.                            C:\BATCH;C:\UTILS;C:\DOS33;C:\;
  1289.  
  1290.        and I keep DocPRINT files in the UTILS directory.  That finds
  1291.        them every time.  (Yes, all of my batch files are in the C:\BATCH
  1292.        directory.)
  1293.  
  1294.  
  1295.                                                           DocPRINT  Page 25
  1296.  
  1297.        Points Of Interest
  1298.  
  1299.        1) Graphics Characters
  1300.  
  1301.  
  1302.        DocPRINT passes all extended ASCII characters to the printer!
  1303.        (Those are the ones like the box drawing characters, etc.)  If
  1304.        your printer does not support the graphics characters, I
  1305.        recommend that you use a utility called PRSWAP by John Dickinson
  1306.        that appeared in PC Magazine.  This is a Resident program that
  1307.        intercepts all those graphics characters and replaces them with
  1308.        normal dashes and lines.  It is included with DocPRINT.  (Since I
  1309.        believe you could find it on any BBS I don't think I'll get sued
  1310.        for including it here.)
  1311.  
  1312.  
  1313.        2) Printer Enhancement
  1314.  
  1315.  
  1316.        If by some chance you are still using an OLD EPSON printer (like
  1317.        the MX's, RX's and FX-80 & FX-100),  without the NLQ features,
  1318.        then please consider purchasing Dots-Perfect.  Dots-Perfect is an
  1319.        upgrade kit for older EPSON printers that gives you NLQ
  1320.        capability, the IBM Graphic Character Set, Push-Button Font
  1321.        Selection and an Option Menu similar to the EPSON SelectType
  1322.        features on newer printers.  Cost is about $80 but it sure beats
  1323.        buying a new printer!  EPSON has even acknowledged Dots-Perfect
  1324.        and says that installing it will NOT void the Warranty!  If
  1325.        you're interested, give them a call or write to:
  1326.  
  1327.                          Dresselhaus Computer Products
  1328.                         8560 Vineyard Avenue, Suite 405
  1329.                           Rancho Cucamonga, CA  91730
  1330.                                 (714) 945-5600
  1331.  
  1332.                     Take the word of a satisfied customer.
  1333.  
  1334.  
  1335.  
  1336.        Just a Reminder:  If you like DocPRINT, please consider sending a       ________________
  1337.        $10.00 contribution.  It will help me send contributions to other
  1338.        Shareware programmers.
  1339.  
  1340.        Remember, only YOU can make Shareware Work!
  1341.  
  1342.  
  1343.                                                           DocPRINT  Page 26
  1344.      Page 26  DocPRINT
  1345.                               DocPRINT Worksheet
  1346.  
  1347.        Q1:  Does file have Form Feeds?              Yes  or   No
  1348.             (if Yes set Body Lines Per Page to 66)
  1349.             (Use MLL to check)
  1350.  
  1351.        Q2:  Does file have Page Numbers?            Yes  or   No
  1352.             (if Yes set Page Numbering to NO)
  1353.             (Use VIEW.COM to check)
  1354.  
  1355.        Q3:  Put on Page Numbers?                      (Yes or No)
  1356.             Where on page?                        (Top or Bottom)
  1357.                                           (Left, Centered, Right)
  1358.  
  1359.        Q4:  Maximum Line Length of File              _____ chars.
  1360.             (Use MLL.EXE or let DocPRINT find out. p.??)
  1361.  
  1362.        Q5:  Printer Port ?               (LPT1, LPT2, LPT3, LPT4)
  1363.  
  1364.        Q6:  Size of printer paper      ______ Length  _____ Width
  1365.             (In Inches. If narrow carriage set width to 8.)
  1366.  
  1367.        Q7:  Size of printed page       ______ Length  _____ Width
  1368.             (If no reduction same as Q6)
  1369.  
  1370.        Q8:  Line Spacing                            (6 or 8 LPI)
  1371.             (If reducing page size, use 8)
  1372.  
  1373.        Q9:  Printer Font & Size?                  (Draft or NLQ)
  1374.                                         (10, 12, 15, 17, 20 CPI)
  1375.  
  1376.        Q10: SINGLE or DOUBLE Sided Printing?    (set Multi-Pass)
  1377.  
  1378.        Q11: If SINGLE, Horizontal (Left) margin     _____ Chars.
  1379.        (To check length, (Q11 x Q9 CPI) + (Q4 x Q9 CPI) <= Q7 Width)
  1380.  
  1381.        Q12: If DOUBLE, Gutter Margin                _____ Chars.
  1382.        (To check length, (Q12 x Q9 CPI) + (Q4 x Q9 CPI) <= Q7 Width)
  1383.  
  1384.        Q13: Vertical Justification         (TOP, BOTTOM, CENTER)
  1385.             (Use TOP if page size is reduced.  If Q7 < Q6)